package <%- service_pakcage %>.web;

import act.controller.Controller;
import com.github.d925529.apidoc.ApiHttpMethod;
import com.github.d925529.apidoc.annotation.*;
import <%- domain_package %>.<%- ClassName %>;
import com.mk.interceptor.ITranslate;
import com.mk.util.S2;
import org.osgl.mvc.annotation.GetAction;
import org.osgl.mvc.annotation.PostAction;
import org.osgl.mvc.annotation.PutAction;
import org.osgl.mvc.annotation.With;

import javax.inject.Inject;
import javax.validation.constraints.NotNull;

/**
 * 说明：<%- title %>前台接口
 * 作者：<%- user %> 
 * 日期：<%- time %> 
 * 版本：1.0.0
 */
@Controller("<%- className %>")
@Api(group = "wb",title = "<%- title %>服务", path = "/<%- className %>")
@SuppressWarnings("unused")
public class <%- ClassName %>Service extends BaseWebService {
    @Inject
    private <%- ClassName %>.Mapper <%- className %>Mapper;

    //方法权限过滤使用ILogin.class
    //这个类在父类中有声明,不需要引入包
    //@With({ILogin.class, ITranslate.class})

}
